package com.weblog.model.user;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2019/11/121:02
 */
@Entity
@Table(name = "tb_cus_category")
@Data
@ToString
public class CusCategory {

    /**
     * 用户id
     */
    @Id
    private String userid;

    /*
      自定义分类json信息
      [
        {
        "id": 1,
        "name": "springcloud",
        "display": "1",
        "aids":["1187378132571787264"],
        "state":"1"
        }
      ]
     */
    private String categories;


}
